import https5g from '@/api/http5g'
// var http=https.http
var http5g=https5g.http
// const request = '/example-api'
const request = ''

// 扫一扫
export function sweepDevice(params){
    return http5g.post(`${request}/api/wanlshop/offline/device/sweepDevice`,params)
}

// 开始服务
export function serviceStart(params){
    return http5g.post(`${request}/api/wanlshop/offline/device/serviceStart`,params)
}

// 终止服务
export function serviceStop(params){
    return http5g.post(`${request}/api/wanlshop/offline/device/serviceStop`,params)
}
// 订单信息
export function serviceInfo(params){
    return http5g.post(`${request}/api/wanlshop/offline/device/serviceInfo`,params)
}
// 补时长列表
export function waitService(params){
    return http5g.post(`${request}/api/wanlshop/offline/device/waitService`,params)
}